package edu.byu.isys413.samlam;

import java.util.List;
/*
 * Customer.java
 *
 * Created on February 15, 2007, 6:34 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

/**
 * customer
 * @author Sam
 */
public class Customer extends BusinessObject{

    private String firstName;
    private String lastName;
    private String state;
    private String city;
    private String zipCode;
    private String phone;
    private String email;
    private String address;
    private Member member = null;
    private String username;
    private String password;
    /**
     * Creates a new instance of Customer
     * @param id id
     */
    public Customer(String id) {
        super(id);
    }

    /**
     * get first name
     * @return get first name
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * set first name
     * @param firstName first name
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
        this.dirty = true;
    }

    /**
     * get last name
     * @return last name
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * set last name
     * @param lastName set last name
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
        this.dirty = true;
    }

    /**
     * get state
     * @return get state
     */
    public String getState() {
        return state;
    }

    /**
     * set state
     * @param state set state
     */
    public void setState(String state) {
        this.state = state;
        this.dirty = true;
    }

    /**
     * get city
     * @return get city
     */
    public String getCity() {
        return city;
    }

    /**
     * set city
     * @param city city
     */
    public void setCity(String city) {
        this.city = city;
        this.dirty = true;
    }

    /**
     * get zip code
     * @return zip code
     */
    public String getZipCode() {
        return zipCode;
    }

    /**
     * set zip coe
     * @param zipCode zip code
     */
    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
        this.dirty = true;
    }

    /**
     * get phone
     * @return get phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * set phone
     * @param phone set phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
        this.dirty = true;
    }

    /**
     * get email
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * set email
     * @param email email
     */
    public void setEmail(String email) {
        this.email = email;
        this.dirty = true;
    }

    /**
     * get address
     * @return get address
     */
    public String getAddress() {
        return address;
        
    }

    /**
     * set address
     * @param address set address
     */
    public void setAddress(String address) {
        this.address = address;
        this.dirty = true;
    }

    /**
     * get member
     * @return get member
     */
    public Member getMember() {
        return member;
    }

    /**
     * set member
     * @param member set member
     */
    public void setMember(Member member) {
        this.member = member;
        this.dirty = true;
    }

    /**
     * get username
     * @return get username
     */
    public String getUsername() {
        return username;
    }

    /**
     * set user name
     * @param username username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * get password
     * @return get password
     */
    public String getPassword() {
        return password;
    }

    /**
     * set password
     * @param password password
     */
    public void setPassword(String password) {
        this.password = password;
    }

   
}
